package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanAboutUsDao;
import com.open.system.domain.LoanAboutUsDO;
import com.open.system.service.LoanAboutUsService;



@Service
public class LoanAboutUsServiceImpl implements LoanAboutUsService {
	@Autowired
	private LoanAboutUsDao loanAboutUsDao;
	
	@Override
	public LoanAboutUsDO get(Long id){
		return loanAboutUsDao.get(id);
	}
	
	@Override
	public List<LoanAboutUsDO> list(Map<String, Object> map){
		return loanAboutUsDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return loanAboutUsDao.count(map);
	}
	
	@Override
	public int save(LoanAboutUsDO loanAboutUs){
		return loanAboutUsDao.save(loanAboutUs);
	}
	
	@Override
	public int update(LoanAboutUsDO loanAboutUs){
		return loanAboutUsDao.update(loanAboutUs);
	}
	
	@Override
	public int remove(Long id){
		return loanAboutUsDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return loanAboutUsDao.batchRemove(ids);
	}
	
}
